package org.dromara.business.mapper;

import org.dromara.business.domain.ContentInteraction;
import org.dromara.business.domain.vo.ContentInteractionVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.Date;
import java.util.List;

/**
 * 统一内容互动行为Mapper接口
 *
 * @author Hao Tong Xue
 * @date 2025-04-21
 */
public interface ContentInteractionMapper extends BaseMapperPlus<ContentInteraction, ContentInteractionVo> {

    /**
     * 查询用户在指定日期范围内的投币互动视频ID列表
     *
     * @param userId    用户ID
     * @param startDate 开始日期
     * @return 投币互动视频ID列表
     */
    List<Long> selectCoinInteractionVideoIds(Long userId, Date startDate);
}
